var temp = 0;
var timer;
timer = setInterval(function () {
    $('.outloading').css('width', temp + "%");
    temp = temp + 10;
    if (temp > 100) {
        $('.loading').addClass('hide');
        clearInterval(timer);
        setTimeout(function () {
          $('.text').html="<h1>Ahhhh <br> monster</h1>  <h3>you will run</h3>";
        }, 300)
    }
}, 300)